package clientIO;





import org.apache.log4j.xml.DOMConfigurator;

import java.io.IOException;
import java.net.Socket;
import java.util.Properties;


/**
 * @author :陈磊 <br/>
 *         Date: 12-12-3<br/>
 *         Time: 下午4:31<br/>
 *         connectMethod:13638363871@163.com<br/>
 */
public class test {


    public static void main(String[] args) throws InterruptedException, IOException {
        DOMConfigurator.configure("res/log4j.xml");
        Properties properties = ProperTiesUtil.getProPertis("res/client.properties");
        int n=Integer.valueOf(properties.getProperty("num"));
        for (int i = 0; i <n ; i++) {
            IOtest iOtest=new IOtest(properties, new Socket());
            iOtest.start();
        }
    }
}
